package com.xhs.main.service.cwb;

import com.xhs.main.entity.cwb.CwbProposer;
import com.xhs.main.entity.cwb.CwbProposered;

import java.util.List;

public interface CwbProposeredService {

    void addCwbProposered(CwbProposered cwbProposered);

    //查询所有的审批数据
    List<CwbProposered> getAllCwbProposered();

    CwbProposered getOneByID(Integer cwbPId);

    //分页查询
    List<CwbProposered> getAllCwbProposeredByLimit(Integer page, Integer limit);

    //条件查询
    List<CwbProposered> getByCondition(String employeeID,String applyType,String people,String department,Integer page,Integer limit);

    //全部未通过的审批信息
    List<CwbProposered> getAllNoCwbProposered();

    //分页查询(未通过的审批信息)
    List<CwbProposered> getAllNoCwbProposeredByLimit(Integer page,Integer limit);

    //模糊查询(未通过的审批信息)
    List<CwbProposered> getByNoCondition(String employeeID,String applyType,String people,String department,Integer page,Integer limit);

    //部门经费申请汇总
    Double getAllMoney();

    //待处理的申请
    Integer getAllOpr();

    //未处理的申请
    Integer getAllNoOpr();
}